# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=font-inconsolata
pkgver=3.000
pkgrel=0
pkgdesc="Inconsolata fonts"
url="https://www.google.com/fonts/specimen/Inconsolata"
license="OFL"
arch="noarch"
depends="fontconfig"
source="$pkgname-$pkgver.zip::https://github.com/googlefonts/Inconsolata/releases/download/v$pkgver/fonts_otf.zip"
builddir="$srcdir/fonts"
options="!check" # no test suite

# backwards compat (<3.17)
provides="ttf-inconsolata=$pkgver-r$pkgrel"
replaces="ttf-inconsolata"

package() {
	install -Dm644 otf/*.otf \
		-t "$pkgdir"/usr/share/fonts/inconsolata/
}

sha512sums="
47721eb281ce89ec7b66bba4480cacdd9543405352660f12c2fdfe2e1d3e18f74685fbe68708fee3ee849eb36364add76cb59fdaa9835365691fd46a87f9123e  font-inconsolata-3.000.zip
"
